package face.pay.common.enterprise.service;

import face.pay.entity.MchApplymentUpgradeInfo;
import face.pay.entity.UserInfo;
import face.pay.entity.WeChatMchUpgradeInfo;
import face.pay.util.ResultMessage;
import face.pay.util.page.PageData;
import face.pay.util.page.PageParam;

public interface IWeChatMchUpgradeInfoService {

    WeChatMchUpgradeInfo getByUserId(Integer userId, Integer oemId, Integer agencyId);


    ResultMessage modifyInfo(WeChatMchUpgradeInfo weChatMchUpgradeInfo, UserInfo loginUser);

    ResultMessage mediaload(WeChatMchUpgradeInfo weChatMchUpgradeInfo, byte[] bytes, String originalFilename, String keyName, UserInfo loginUser) throws Exception;

    ResultMessage subinfo(WeChatMchUpgradeInfo weChatMchUpgradeInfo, UserInfo loginUser) throws Exception;

    PageData queryPage(MchApplymentUpgradeInfo apply, PageParam pageParam, UserInfo loginUser);
}
